package com.edu.entity;

import java.util.Date;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;

/**
 * 查询商家的评论
 *
 */
public class UserComents{

	private int comment_id;// 评论
	private int user_id;// 评论者用户ID
	private int target_user_id;// 被评论的用户ID
	private String content;// 评论内容
	private Date created_at;// 创建时间
	private Date updated_at;// 最后更新时间
	private double score;//点评分数
	private int is_deleted;// 软删除标记（0=正常 1=删除）

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

	public int getComment_id() {
		return comment_id;
	}

	public void setComment_id(int comment_id) {
		this.comment_id = comment_id;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public int getTarget_user_id() {
		return target_user_id;
	}

	public void setTarget_user_id(int target_user_id) {
		this.target_user_id = target_user_id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreated_at() {
		return created_at;
	}

	public void setCreated_at(Date created_at) {
		this.created_at = created_at;
	}

	public Date getUpdated_at() {
		return updated_at;
	}

	public void setUpdated_at(Date updated_at) {
		this.updated_at = updated_at;
	}

	public int getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(int is_deleted) {
		this.is_deleted = is_deleted;
	}

	public UserComents(int comment_id, int user_id, int target_user_id, String content, Date created_at,
			Date updated_at, int is_deleted) {
		super();
		this.comment_id = comment_id;
		this.user_id = user_id;
		this.target_user_id = target_user_id;
		this.content = content;
		this.created_at = created_at;
		this.updated_at = updated_at;
		this.is_deleted = is_deleted;
	}

	
	public UserComents(int user_id, int target_user_id, String content, Date created_at, Date updated_at,
			int is_deleted) {
		super();
		this.user_id = user_id;
		this.target_user_id = target_user_id;
		this.content = content;
		this.created_at = created_at;
		this.updated_at = updated_at;
		this.is_deleted = is_deleted;
	}

	public UserComents(int user_id, int target_user_id, String content, Date created_at, Date updated_at, double score,
			int is_deleted) {
		super();
		this.user_id = user_id;
		this.target_user_id = target_user_id;
		this.content = content;
		this.created_at = created_at;
		this.updated_at = updated_at;
		this.score = score;
		this.is_deleted = is_deleted;
	}

	public UserComents() {
	
	}

	
}
